//登录请求接口数据
export interface loginFormData {
  username: string
  password: string
}
//返回接口公共数据类型
interface ResData {
  code: number
  message: string
  ok: boolean
}
//登录返回接口数据
export interface loginResponseData extends ResData {
  data: string
}
//用户信息接口数据
interface userinfo {
  avatar: string
  name: string
  roles: string[]
  buttons: string[]
  routes: string[]
  token: string
}
export interface userInfoResponseData extends ResData {
  data: userinfo
}
